import {get, post, del, put} from "@/apis/http/request";
import {AdminVerifyDetailOrder} from "@/apis/model/order/AdminVerifyDetailOrderModel";

/**
* 得到列表
* @param params
*/
export const getAdminVerifyDetailOrderList = (params: any) => get("/adminVerifyDetailOrder/list", params)

/**
* 得到分页列表
* @param params
*/
export const adminVerifyDetailOrderPage = (params: any) => post("/adminVerifyDetailOrder/page", params)

/**
* 删除数据
* @param id
* @returns
*/
export const deleteAdminVerifyDetailOrderById = (id: number) => del("/adminVerifyDetailOrder/delete/"+ id)

/**
* 新增数据
* @param param
*/
export const insertAdminVerifyDetailOrder = (param: AdminVerifyDetailOrder) => post("/adminVerifyDetailOrder", param)

/**
* 更新数据
* @param param
*/
export const updateAdminVerifyDetailOrder = (param: AdminVerifyDetailOrder) => put("/adminVerifyDetailOrder", param)